<%@ include file="/WEB-INF/jsp/common/IncludeTop.jsp"%>
<%@page pageEncoding="UTF-8"%>

<style>
.error {
	color: #ff0000;
	font-size: 0.9em;
	font-weight: bold;
}

.errorblock {
	color: #000;
	background-color: #ffEEEE;
	border: 3px solid #ff0000;
	padding: 8px;
	margin: 16px;
}
</style>
<div class="container">
  <div class="jumbotron">
    <div>
      <h1>実消化システムログイン</h1>
      <p>テスト中</p>
    </div>
  </div>

  <div></div>
</div>

<div class="col-lg-6 col-lg-offset-3">
  <div class="well">
    <div class="container">
      <div class="row">
        <div class="col-lg-6">
          <form:form id="myForm" method="post"
            class="bs-example form-horizontal"
            commandName="studentLogin">
            <fieldset>
              <legend>実消化システムアカウントでログイン</legend>

              <div class="form-group">
                <label for="userNameInput"
                  class="col-lg-3 control-label">アカウント</label>
                <div class="col-lg-9">
                  <form:input type="text" class="form-control"
                    path="userName" id="userNameInput"
                    placeholder="アカウント" />
                  <form:errors path="userName" cssClass="error" />
                </div>
              </div>

              <div class="form-group">
                <label for="passwordInput"
                  class="col-lg-3 control-label">パスワード</label>
                <div class="col-lg-9">
                  <form:input type="password" class="form-control"
                    path="password" id="passwordInput"
                    placeholder="パスワード" />
                  <form:errors path="password" cssClass="error" />
                </div>
              </div>

              <div class="col-lg-9 col-lg-offset-3">
                <button class="btn btn-default"><spring:message code="label.clear" /></button>

                <button class="btn btn-primary"><spring:message code="label.login" /></button>
              </div>
            </fieldset>
          </form:form>
        </div>
      </div>
    </div>
  </div>
</div>

<%@ include file="/WEB-INF/jsp/common/IncludeBottom.jsp"%>